package cn.edu.dz.mmcock;

public class Test01 {
    public static void main(String[] args) {
        Kitchen kt =new Kitchen();
        Mother mm = new Mother(kt);
        Child c1 =new Child("tom",kt,10);
        Child c2 =new Child("mary",kt,8);
        Child c3 =new Child("tony",kt,4);
        mm.start();
        c1.start();
        c2.start();
        c3.start();
    }
}
